package com.tuoyu.peopletest.entity.message;


/**
 * 事件总线EventBus
 * 数据传递实体类
 *
 */
public class MyMessageEvent {

    /**
     * activity 是否点击返回
     */
    public boolean isBackAc;
    public String mAcTag;
    public MyMessageEvent setAcBack(boolean isBackAc,String acTag){
       this.isBackAc = isBackAc;
       this.mAcTag = acTag;
       return this;
    }


    /**
     * 关闭主页面
     */
    public boolean isCloseMainAc;
    public MyMessageEvent setCloseMainAc(boolean isCloseMainAc) {
        this.isCloseMainAc = isCloseMainAc;
        return this;
    }

    /**
     * 是否更新用户数据
     * @return
     */
    public boolean isUpDataUserData;
    public MyMessageEvent setUpDataUserData( boolean isUpDataUserData){
        this.isUpDataUserData = isUpDataUserData;
        return this;
    }

    /**
     * 用户登录
     */
    public boolean isUserLogin;
    public MyMessageEvent setUserLogin(boolean isUserLogin){
        this.isUserLogin = isUserLogin;
        return this;
    }

    /**
     * 用户登出
     * @return
     */
    public boolean isUserLoginOut;
    public MyMessageEvent setUserLoginOut(boolean isUserLoginOut) {
        this.isUserLoginOut = isUserLoginOut;
        return this;
    }

    /**
     * 没有链接设备
     * @return
     */
    public boolean isNoConnectDevices;
    public MyMessageEvent setDevicesNoConnect(boolean isNoConnectDevices){
        this.isNoConnectDevices = isNoConnectDevices;
        return this;
    }

    public boolean is_quan_table;
    public String qua_type;
    public MyMessageEvent setQuaTable(boolean isQuaTable,String qua_type) {
        this.is_quan_table = isQuaTable;
        this.qua_type = qua_type;
        return this;
    }


    /**
     * 唾液淀粉酶
     */
    public boolean isAmylaseEnd;
    public MyMessageEvent setAmylaseEnd(boolean isAmylaseEnd) {
        this.isAmylaseEnd = isAmylaseEnd;
        return this;
    }
    /**
     * 血浆同型半胱氨酸
     */
    public boolean isHCYEnd;
    public MyMessageEvent setHCYEnd(boolean isHCYEnd) {
        this.isHCYEnd = isHCYEnd;
        return this;
    }

    /**
     * hrv测试完毕
     */
    public boolean isHrvTestEnd;
    public MyMessageEvent setHrvTestEnd(boolean isHrvTestEnd) {
        this.isHrvTestEnd = isHrvTestEnd;
        return this;
    }

    public boolean isBreatRate;
    public MyMessageEvent setBreatRate(boolean isBreatRate) {
        this.isBreatRate = isBreatRate;
        return this;
    }

    public boolean isSelectReactionTest;
    public MyMessageEvent setSelectReactionTest(boolean isSelectReactionTest) {
        this.isSelectReactionTest = isSelectReactionTest;
        return this;
    }


    /**
     * 记忆广度
     */
    public boolean isMomerySizeEnd;
    public MyMessageEvent setMomerySizeEnd(boolean isMomerySizeEnd) {
        this.isMomerySizeEnd = isMomerySizeEnd;
        return this;
    }

    /**
     * 应激损伤
     */
    public boolean isStessInjureEnd;
    public MyMessageEvent setStressInjureEnd(boolean isStessInjureEnd) {
        this.isStessInjureEnd = isStessInjureEnd;
        return this;
    }

    /**
     * 最大血氧量
     */
    public boolean isMaxOxygenHeartRate;
    public MyMessageEvent setMaxOxygenHeartRate(boolean isMaxOxygenHeartRate) {
        this.isMaxOxygenHeartRate = isMaxOxygenHeartRate;
        return this;
    }
}
